package com.bdqn.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author dede
 * @since 2020-05-23
 */
public class PsSystemconfig extends Model<PsSystemconfig> {

    private static final long serialVersionUID=1L;

    @TableId(value = "ID", type = IdType.AUTO)
    private Long id;

    @TableField("CONFIGCODE")
    private String configcode;

    @TableField("CONFIGNAME")
    private String configname;

    @TableField("CONFIGVALUEID")
    private Integer configvalueid;

    @TableField("CONFIGVALUENAME")
    private String configvaluename;

    @TableField("ISSTART")
    private Integer isstart;

    @TableField("DESCC")
    private String descc;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getConfigcode() {
        return configcode;
    }

    public void setConfigcode(String configcode) {
        this.configcode = configcode;
    }

    public String getConfigname() {
        return configname;
    }

    public void setConfigname(String configname) {
        this.configname = configname;
    }

    public Integer getConfigvalueid() {
        return configvalueid;
    }

    public void setConfigvalueid(Integer configvalueid) {
        this.configvalueid = configvalueid;
    }

    public String getConfigvaluename() {
        return configvaluename;
    }

    public void setConfigvaluename(String configvaluename) {
        this.configvaluename = configvaluename;
    }

    public Integer getIsstart() {
        return isstart;
    }

    public void setIsstart(Integer isstart) {
        this.isstart = isstart;
    }

    public String getDescc() {
        return descc;
    }

    public void setDescc(String descc) {
        this.descc = descc;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "PsSystemconfig{" +
        "id=" + id +
        ", configcode=" + configcode +
        ", configname=" + configname +
        ", configvalueid=" + configvalueid +
        ", configvaluename=" + configvaluename +
        ", isstart=" + isstart +
        ", descc=" + descc +
        "}";
    }
}
